package com.yunxin.core.customer.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author zero°
 * @since 2023-06-08
 */
@Data
@Schema(description = "添加标签")
public class AddTagDto implements Serializable {

    @Schema(description = "团队id")
    @NotNull(message = "团队id不能为空")
    private Integer teamId;

    @Schema(description = "父类id")
    private Long parentId;

    @Schema(description = "标签名")
    @NotBlank(message = "标签名不能为空")
    private String name;

    @Schema(hidden = true)
    private Long creator;

}
